﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ComunesMGI.DataTypes;

namespace ClienteWinMGI
{
    public partial class ModificarWP : Form
    {

        private DataWP _dataWP;
        public ModificarWP(DataWP wp)
        {
            //cargo el work package
            this._dataWP = wp;
            InitializeComponent();
            CargarDatos();

            ClearValidator();
        }

        private void CargarDatos()
        { 
        //HACER!

        }

        private void ClearValidator()
        {
            imgValidator.Visible = false;
            lblValidator.Visible = false;
        }

        private void ShowValidator(string textoValidator)
        {
            imgValidator.Visible = true;
            lblValidator.Visible = true;
            lblValidator.Text = textoValidator;
        }
        private void btnModificar_Click(object sender, EventArgs e)
        {

        }
    }
}
